﻿<%@ Page Title="" Language="C#" MasterPageFile="~/layout/layout.Master" AutoEventWireup="true" CodeBehind="SearchResult.aspx.cs" Inherits="SinhNhat.SearchResult" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" runat="server">
    <title>Kết quả tìm kiếm</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content_home" runat="server">
    <h2>
        Kết quả tìm kiếm với từ: <asp:Label ID="lblSearch" runat="server" />
    </h2>

    <div>
        <asp:Repeater ID="rpProduct" runat="server">
            <ItemTemplate>
                <div>
                    <a href='<%# Eval("Url") %>' title='<%# Eval("Name") %>'>
                        <img src='<%# Eval("Image") %>' title='<%# Eval("Name") %>' width="40px" />
                        <%# Eval("Name") %>
                    </a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>

    <asp:Repeater ID="rpService" runat="server">
        <ItemTemplate>
            <div>
                <a href='<%# Eval("Url") %>' title='<%# Eval("Title") %>'>
                    <img src='<%# Eval("Title") %>' title='<%# Eval("Title") %>' width="40px" />
                    <%# Eval("Title")%>
                </a>
            </div>
        </ItemTemplate>
    </asp:Repeater>

    <asp:Repeater ID="rpArticle" runat="server">
        <ItemTemplate>
            <a href='<%# Eval("URL") %>' title='<%# Eval("Title") %>'>
                <%# Eval("Title")%>
            </a>
        </ItemTemplate>
    </asp:Repeater>

    <div>
        <asp:Label ID="lblNoResult" runat="server" Text="Không tìm thấy kết quả" />
    </div>
</asp:Content>
